package org.yang.jspgenerator.entity;

import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;

import java.util.Date;
import java.util.List;

/**
 * @author shichenyang
 */
@Data
public class Table {
    //数据中表名
    private String tableName;
    //实体类名
    private String entityName;
    private String liteName;
    //表注释
    private String comment;
    //存储引擎
    private String engine;
    //创建时间
    @JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd HH:mm:ss")
    private Date createTime;
    private List<Column> columns;
}
